// 加载数据库驱动并连接数据库
const mongoose = require('mongoose');
mongoose.connect('mongodb://127.0.0.1:27018/f85', {useNewUrlParser: true, useUnifiedTopology: true});
// mongoose.connect('mongodb://lovo:lovo8848@baidd.info:27017/demo?authSource=admin', {useNewUrlParser: true, useUnifiedTopology: true});
// mongoose.connect('mongodb://lovo:lovo8848@172.16.1.251:27017/f85_1?authSource=admin', {useNewUrlParser: true, useUnifiedTopology: true});
mongoose.connection.on("connected",function(){
    console.log('MongoDB is Connected');
})